package com.example.dream.talentbase.util;

import java.util.HashMap;
import java.util.Map;

/**
 * @className test
 * @Description 测试数据结构
 * @Autor WUAO
 * @Date 2022/8/17 20 20
 */
public class test {
    static Map<String,Double> m1=new HashMap<>();
    static Map<String,Double> m3=new HashMap<>();
    static Map<String,Double> tmath(Map<String,Double> m1){
        Map<String,Double> m2=new HashMap<>();
        if (m1.get("滑板")!=null){
            m1.put("滑板", test.m1.get("滑板")+1.0);
        }else{
            m1.put("滑板", 1.0);
        }

        return m1;
    }
    public static void main(String[] args) {
//
//        m1.put("滑板",1.0);
//        m1.put("跳绳",1.0);
////        System.out.println(m1.get("滑板")+" "+m1.get("跳绳"));
////
////        m1.put("滑板",m1.get("滑板")+1.0);
////        System.out.println(m1.get("滑板")+" "+m1.get("跳绳"));
//        m1=tmath(m1);
//
//        System.out.println(m1.get("滑板")+" "+m1.get("跳绳"));
//
//        Integer a=1;
//        Integer b=1;
//        System.out.println(a.equals(b));
        String[] s={"你好","小米"};
        for (int i = 0; i < s.length; i++) {
            System.out.println(s[i]);
        }

    }
}
